import { Module } from "@nestjs/common";
import { MulterModule } from "@nestjs/platform-express";

import { multerModuleRegisterConfig } from "@/core/file/multer-module.config";

import { FileService } from "../file/service/file.service";
import { UserController } from "./user.controller";
import { UserService } from "./user.service";

@Module({
    controllers: [UserController],
    providers: [UserService, FileService],
    imports: [MulterModule.registerAsync(multerModuleRegisterConfig)]
})
export class UserModule {}
